
from sqlalchemy import Column,Integer,String

from lin.interface import InfoCrud as Base

class Members(Base):
    id = Column(Integer,primary_key=True,autoincrement=True)
    work_id = Column(Integer, unique=True)
    name = Column(String(20))
    wx_id = Column(String(20), unique=True)
    phone = Column(String(20), unique=True)
    store_id = Column(String(20))
    store_name = Column(String(20))
    gender = Column(String(20))
    regional_manager = Column(String(20))
    store_manager = Column(String(20))